@tailwind base;
@tailwind components;
@tailwind utilities;

*[hidden] {
  display: none !important;
}

html,
body,
#root {
  background-color: #fff;
}

* {
  font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Helvetica, Tahoma,
    Arial, "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", SimSun, "宋体",
    Heiti, "黑体", sans-serif !important;
  box-sizing: border-box;
}

// 图片模糊处理
img {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

// 滚动条隐藏
.hide-scroll-bar {
  &::-webkit-scrollbar {
    display: none;
  }
}
::-webkit-scrollbar {
  width: 10px;
  height: 20px;
  cursor: pointer;
}

::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  border-radius: 3px;
}
